package com.mvc.beans;

import java.sql.Date;

/**
 * @author a1926
 * 一条人事变动记录
 */
public class RecordsOfPersonnelChanges extends Records {
    private Integer employeeId;
    private String originalDepartment;
    private String currentDepartment;
    private String originalJob;
    private String currentJob;
    private Integer adminId;

    public RecordsOfPersonnelChanges(Integer recordsId, Date time, Integer employeeId, String originalDepartment, String currentDepartment, String originalJob, String currentJob, Integer adminName) {
        super(recordsId,time);
        this.employeeId = employeeId;
        this.originalDepartment = originalDepartment;
        this.currentDepartment = currentDepartment;
        this.originalJob = originalJob;
        this.currentJob = currentJob;
        this.adminId = adminName;
    }

    public RecordsOfPersonnelChanges() {

    }



    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public String getOriginalDepartment() {
        return originalDepartment;
    }

    public void setOriginalDepartment(String originalDepartment) {
        this.originalDepartment = originalDepartment;
    }

    public String getCurrentDepartment() {
        return currentDepartment;
    }

    public void setCurrentDepartment(String currentDepartment) {
        this.currentDepartment = currentDepartment;
    }

    public String getOriginalJob() {
        return originalJob;
    }

    public void setOriginalJob(String originalJob) {
        this.originalJob = originalJob;
    }

    public String getCurrentJob() {
        return currentJob;
    }

    public void setCurrentJob(String currentJob) {
        this.currentJob = currentJob;
    }

    public Integer getAdminName() {
        return adminId;
    }

    public void setAdminName(Integer adminName) {
        this.adminId = adminName;
    }

    @Override
    public String toString() {
        return "RecordsOfPersonnelChanges{" +
                "employeeId='" + employeeId + '\'' +
                ", originalDepartment='" + originalDepartment + '\'' +
                ", currentDepartment='" + currentDepartment + '\'' +
                ", originalJob='" + originalJob + '\'' +
                ", currentJob='" + currentJob + '\'' +
                ", adminId='" + adminId + '\'' +
                '}';
    }


}
